 <%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
   
 <html>  
  <head><title>Example :: Spring Application</title></head>  
  <body>  
   <h1>CoderSonTrang - Spring MVC Demo</h1>  
   <h3>Student Book Show</h3>  
   <form:form method="POST" action="submitStudentInfo" commandName="modelx">  
        Your name: <c:out value="${modelx.name}"/><form:hidden path="name"/><br/><br/>  
        Edit your list of books:   
        <c:forEach items="${modelx.books}" var="book" varStatus="status">  
             <form:input path="books[${status.index}]"></form:input>  
        </c:forEach>  
        <input type="submit" value="Submit"/>  
   </form:form>  
   <div style="background:#972F2C;color: #FFF;"><c:out value="${message}"/></div>  
  </body>  
 </html>  